package com.huqing.icu.model;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.huqing.icu.enums.HouseApproveStatusEnum;
import com.huqing.icu.enums.HouseRobotApproveStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.sql.Timestamp;

/**
 * 房源审核记录实体类
 *
 * @author huqing
 * @date 2024-06-19 21:29
 */
@TableName(value = "house_approve_record")
@Data
public class HouseApproveRecord {

    @Schema(name = "id", description = "主键ID")
    private Long id;

    @Schema(name = "houseId", description = "房源id")
    private Long houseId;

    /**
     * @see com.huqing.icu.enums.HouseApproveStatusEnum
     */
    @Schema(name = "approveStatus", description = "审核状态 10-草稿 20-待审核 30-审核通过 40-审核未通过")
    private Integer approveStatus;

    @Schema(name = "approveContent", description = "审核意见")
    private String approveContent;

    @Schema(name = "approveUserId", description = "审核人id")
    private Long approveUserId;

    @Schema(name = "approveTime", description = "审核时间")
    private Timestamp approveTime;

    @Schema(name = "isDeleted", description = "是否删除 0-否 1-是")
    @TableLogic
    private Integer isDeleted;

    @Schema(name = "createTime", description = "创建时间")
    private Timestamp createTime;

    @Schema(name = "modifyTime", description = "修改时间")
    private Timestamp modifyTime;


    /*
     *//**
     * 机审状态 10-待审核 20-审核通过 30-审核不通过
     *
     * @see HouseRobotApproveStatusEnum
     *//*
    private Integer robotApproveStatus;

    *//**
     * 机审核意见
     *//*
    private String robotApproveContent;*/
}
